package com.hearwego;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.RelativeLayout;

public class ActivityMiViaje extends Activity {
	 private Button mGotoButton;
	 private RelativeLayout r_favoritos, r_lugares, r_gastos, r_notas, r_fotos, r_trip;
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_mi_viaje);
		
		 r_notas = (RelativeLayout) findViewById(R.id.rl_mis_notas);
	     r_gastos = (RelativeLayout) findViewById(R.id.rl_mis_gastos);
	     r_fotos = (RelativeLayout) findViewById(R.id.rl_mis_fotos);
	     r_favoritos = (RelativeLayout) findViewById(R.id.rl_favoritos);
	     r_lugares = (RelativeLayout) findViewById(R.id.rl_lugares_visi);
	     
	        
	        r_notas.setOnClickListener(new OnClickListener() {
				
				@Override
				public void onClick(View v) {
					Intent intent_misnotas = new Intent(ActivityMiViaje.this, ActivityMisNotas.class);
					startActivity(intent_misnotas);
//		            mActivity.pushFragments(Utilities.TAB_B, new TabMisNotas(),true,true);
					
				}
			});
	        r_gastos.setOnClickListener(new OnClickListener() {
				
				@Override
				public void onClick(View v) {
					Intent intent_misgastos = new Intent(ActivityMiViaje.this, ActivityMisGastos.class);
					startActivity(intent_misgastos);
//		            mActivity.pushFragments(Utilities.TAB_B, new TabMisGastos(),true,true);

				}
			});
	        r_fotos.setOnClickListener(new OnClickListener() {
				
				@Override
				public void onClick(View arg0) {
					Intent intent_fotos = new Intent(ActivityMiViaje.this, ActivityFotos.class);
					startActivity(intent_fotos);
					
				}
			});
	        
	        r_favoritos.setOnClickListener(new OnClickListener() {
				
				@Override
				public void onClick(View arg0) {
					Intent intent_favoritos = new Intent(ActivityMiViaje.this, ActivityFavoritos.class);
					startActivity(intent_favoritos);					
				}
			});
	        
	        r_lugares.setOnClickListener(new OnClickListener() {
				
				@Override
				public void onClick(View arg0) {
					Intent intent_lugares = new Intent(ActivityMiViaje.this, ActivityVisitados.class);
					startActivity(intent_lugares);					
				}
			});
		
	}

//	@Override
//	public boolean onCreateOptionsMenu(Menu menu) {
//		// Inflate the menu; this adds items to the action bar if it is present.
//		getMenuInflater().inflate(R.menu.activity_mi_viaje, menu);
//		return true;
//	}

}
